<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
    <link rel="stylesheet" href="./animate.css">
</head>
<body>
    <div class="" id="skyscrapper">
        <div class="box" id='box1'></div>       
        <div class="box" id='box2'></div>       
        <div class="box" id='box3'></div>
        <div class="box" id='box4'></div>
    </div>
    <script src="./gasp.min.js"></script>
    <script src="./animate.js"></script>
    <script>
        //第四个元素和第二个元素一样动
    var skyObj = {
        leftAnimated:['#box1','#box3'],
        rightAnimated:['#box2','#box4'],
        
    }
    new Animation(skyObj)
    </script>
</body>
</html>